import os
import time

from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https:www.baidu.com')
driver.maximize_window()
time.sleep(2)
name = r'./DOWNLOD/{}.png'.format(time.strftime('%m-%A-%H-%S'))
driver.get_screenshot_as_file(name)
